module.exports =  function(server){

    server.route({
        method: 'get', path: '/map',
        handler: function (req, reply) {
            var lgt = req.query['lgt'],
                lat = req.query['lat'],
                hotelName = req.query['hotelName']
                hotelno =  req.query['hn']
            reply.view('map',{
                lgt:lgt,
                lat:lat,
                hotelName:hotelName,
                active:{},

                hotelNo:hotelno,
                bookingUrl:'/booking?hn='+hotelno,
                myUrl:'/my?hn='+hotelno,
                hotelUrl:'/hotel?hn='+hotelno
            })
        }
    })
}
